package com.probox.common.entity.domain.order;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.probox.common.core.annotation.Excel;

/**
 * 自动收货时间对象 order_ship_auto
 *
 * @author hds
 * @date 2021-05-28
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("order_ship_auto")
@ApiModel(description="自动收货时间")
public class OrderShipAuto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    //默认主键自增
    @TableId(value = "AUTO_UID", type = IdType.AUTO)
    private Integer autoUid;
    /** 平台ID */
    @Excel(name = "平台ID")
    @ApiModelProperty(value = "平台ID(平台ID)")
    private Long platformUid;

    /** 自动收货时长(天) */
    @Excel(name = "自动收货时长(天)")
    @ApiModelProperty(value = "自动收货时长(天)(自动收货时长(天))")
    private Long autoDate;

    /** 延迟收货时长(天) */
    @Excel(name = "延迟收货时长(天)")
    @ApiModelProperty(value = "延迟收货时长(天)(延迟收货时长(天))")
    private Long delayedDate;

    /** 更新人 */
    @Excel(name = "更新人")
    @ApiModelProperty(value = "更新人(更新人)")
    private Long updateUser;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间(更新时间)")
    private Date updateTime;

    /** 更新人名称 */
    @Excel(name = "更新人名称")
    @ApiModelProperty(value = "更新人名称(更新人名称)")
    private String updateName;

}
